.class abstract Lcom/zuiapps/sdk/analytics/BaseZMMobAgent;
.super Ljava/lang/Object;
.source "BaseZMMobAgent.java"


# direct methods
.method constructor <init>()V
    .registers 1

    .prologue
    .line 26
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$000(Landroid/content/Context;Ljava/lang/String;)V
    .registers 2
    .param p0, "x0"    # Landroid/content/Context;
    .param p1, "x1"    # Ljava/lang/String;

    .prologue
    .line 26
    invoke-static {p0, p1}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent;->saveAnalyticsData(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method protected static postData(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    .registers 5
    .param p0, "mContext"    # Landroid/content/Context;
    .param p1, "userId"    # Ljava/lang/String;
    .param p2, "eventJsonStr"    # Ljava/lang/String;

    .prologue
    .line 36
    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 98
    :goto_6
    return-void

    .line 40
    :cond_7
    new-instance v0, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    .line 41
    .local v0, "mHandler":Landroid/os/Handler;
    new-instance v1, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;

    invoke-direct {v1, p0, p2, v0, p1}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/os/Handler;Ljava/lang/String;)V

    .line 97
    invoke-virtual {v1}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;->start()V

    goto :goto_6
.end method

.method protected static postDataByForce(Landroid/content/Context;Ljava/lang/String;)V
    .registers 4
    .param p0, "mContext"    # Landroid/content/Context;
    .param p1, "userId"    # Ljava/lang/String;

    .prologue
    .line 101
    new-instance v0, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    .line 102
    .local v0, "mHandler":Landroid/os/Handler;
    new-instance v1, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$2;

    invoke-direct {v1, p0, v0, p1}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$2;-><init>(Landroid/content/Context;Landroid/os/Handler;Ljava/lang/String;)V

    .line 153
    invoke-virtual {v1}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$2;->start()V

    .line 155
    return-void
.end method

.method private static saveAnalyticsData(Landroid/content/Context;Ljava/lang/String;)V
    .registers 3
    .param p0, "mContext"    # Landroid/content/Context;
    .param p1, "jsonStr"    # Ljava/lang/String;

    .prologue
    .line 158
    new-instance v0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$3;

    invoke-direct {v0, p1, p0}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$3;-><init>(Ljava/lang/String;Landroid/content/Context;)V

    .line 166
    invoke-virtual {v0}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$3;->start()V

    .line 167
    return-void
.end method
